﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PropertyManagement.Core.DataAccess;

namespace PropertyManagement.Core.Model {
    public class HouseOwner :AbstractBaseEntity{
        public int HouseOwnerID { get; set; }
        [BPrimaryKey]
        public string HouseCode { get; set; }
        public string ApartmentName { get; set; }
        public int Floor { get; set; }
        public HouseType HouseType { get; set; }
        public string HouseTypeName {
            get { return HouseType.GetHouseTypeName(); }
        }
        public int SpaceArea { get; set; }

        public string OwnerName { get; set; }
        public string OwnerPhoneNumber { get; set; }
        public string OwnerIdentityCard { get; set; }
        public string Remark { get; set; }

        public DateTime EffectiveDate { get; set; }



        

    }
}
